05. An Ember App's File Structure
An Ember App's File Structure
INSTRUCTOR NOTE:
Specific folders mentioned in the video:
publicholds your static assets- Ember copies files into
distwhen building the site - Configuration values go in
config - Finally,
appholds your application's source code.
Inside the app folder:
router.jsholds routes
index.htmlhas a template for the whole page, but includes the header, body and footer so you will be working in those instead (viaapp/templates)
app.jsis the project's main setup file
stylesholds style sheets
routesholds additional routing information
modelsholds schema files for data
helpersholds helper files for templates
controllersis being phased out in favor of components
componentsholds custom html elements. The code lives incomponentsand the HTML lives intemplates/components